# -------------------------------------------------
# Project created by QtCreator 2011-08-04T19:25:18
# -------------------------------------------------
#QT       += core gui
QT += network
TARGET = ComDebug
TEMPLATE = app
SOURCES += main.cpp \
    mainwindow.cpp \
    StatusWidget.cpp \
    UCommunication/UCommunication.cpp \
    Common.cpp \
    UCommunication/cmytcpserver.cpp \
    UCommunication/cmytcpclient.cpp \
    UCommunication/cmyudp.cpp \
    UCommunication/CSerialPort/PortLib/qextserialport.cpp \
    UCommunication/CSerialPort/PortLib/qextserialbase.cpp \
    UCommunication/CSerialPort/cportthread.cpp

unix {
SOURCES += UCommunication/CSerialPort/PortLib/posix_qextserialport.cpp
}

win32 {
SOURCES += UCommunication/CSerialPort/PortLib/win_qextserialport.cpp
}

HEADERS += mainwindow.h \
    StatusWidget.h \
    Common.h \
    UCommunication/UCommunication.h \
    UCommunication/cmytcpserver.h \
    UCommunication/cmytcpclient.h \
    UCommunication/cmyudp.h \
    UCommunication/CSerialPort/PortLib/qextserialport.h \
    UCommunication/CSerialPort/PortLib/qextserialbase.h \
    UCommunication/CSerialPort/cportthread.h
unix {
HEADERS += UCommunication/CSerialPort/PortLib/posix_qextserialport.h
}

win32 {
HEADERS += UCommunication/CSerialPort/PortLib/win_qextserialport.h
}

FORMS += mainwindow.ui \
    StatusWidget.ui

unix:DEFINES   = _TTY_POSIX_
win32:DEFINES  = _TTY_WIN_

RC_FILE = CommunicationApp.rc




